﻿using AbpDemo.Entity;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace study.Courses.Dto
{
    public class CourseMapProfile : Profile
    {
        public CourseMapProfile()
        {
            CreateMap<CourseDto, Course>();
            CreateMap<CreateCourseDto, Course>();

            CreateMap<Course, CourseDto>();
        }
    }
}
